package cn.zebra.dev.sys.module.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 系统配置表
 *
 * @author runnable
 * @date 2019-09-04 10:28:35
 */
@TableName("sys_config")
@Getter
@Setter
public class SysConfigEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @NotBlank(message = "参数名不能为空!")
    private String paramKey;

    @NotBlank(message = "参数值不能为空!")
    private String paramValue;

    private LocalDateTime createTime;

    private Boolean deleteFlag;

    private String remark;
}
